package com.example.demo.core.handlerMapping.handler;

import javax.sip.RequestEvent;
import javax.sip.SipFactory;
import javax.sip.message.Message;
import java.lang.reflect.Method;

/**
 * 同步处理
 * @author yezhihao
 * https://gitee.com/yezhihao/jt808-server
 */
public class SimpleHandler extends Handler {

    public SimpleHandler(Object actionClass, Method actionMethod, String desc) {
        super(actionClass, actionMethod, desc);
    }

    public <T extends Message> T invoke(RequestEvent request) throws Exception {
        return super.invoke(request);
    }
}